import request from '@/utils/request'

// 查询岗位列表
export function listFitnessType(data) {
  return request({
    url: '/plan/getFitnessType',
    method: 'get',
    params: data

  })
}
export function addFitnessType(data) {
    return request({
      url: '/plan/addFitnessType',
      method: 'post',
      data: data
    })
  }
export function updateFitnessType(data) {
    return request({
      url: '/plan/updateFitnessType',
      method: 'put',
      data: data
    })
}
export function deleteFitnessType(data) {
    return request({
      url: '/plan/deleteFitnessType',
      method: 'delete',
      data: data
    })
}